<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link rel="stylesheet" href="css/style.css">
<style>
body{width: 1200px;margin:0 auto;font-family: "Simsun",Tahoma,Arial,sans-serif;font-size: 14px;color:#000;}
.mydetail{width: 1200px;padding-bottom:50px }
table {background-color: transparent;border-collapse: collapse;border-spacing: 0;}
.mydetail th, .mydetail td {border: 1px solid #e2e2e2;}
.mydetail td,.mydetail th {text-align: center;padding: 10px 5px;}
.tal{text-align: left;}
.tac{text-align: center;}
li{list-style: none}
.search-con{height: 50px;line-height: 50px;background:#f3f3f3;padding: 5px 30px;margin-bottom: 10px}
.search-con input{margin-right: 30px;}
.search-con span{color: red;font-weight: bold;}
.STYLE2 {font-size: medium}
.ml10{margin-left: 10px}
.ml20{margin-left: 20px}
.mt20{margin-top: 20px}
.tit_01{color: #333;font-size: 16px;}
.txt_01 li{line-height: 30px}
.txt_01 a{color: #000}
.commit{padding:3px 8px;background: #ddd;color: #000;}
.txt_01 a:hover{color: #6f67dc}
a:link {text-decoration: none;}
a:visited {text-decoration: none;}
a:hover {text-decoration: none;}
a:active {text-decoration: none;}
.aaa{display: inline-block;height: 40px;line-height: 40px;vertical-align: top;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body>
	<table width="1200" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="100"><a href="http://www.ego-buy.com.cn/"><img src="image/bg11.jpg" alt="0" width="1200" height="76" border="0"></a></td>
      </tr>
      <tr>
        <td height="50"><img src="image/bg00.jpg" alt="0" width="1200" height="87"></td>
      </tr>
      <tr>
        <td height="50"><a href="index.php" class="STYLE2" style="margin-left:10px;">返回列表</a></td>
      </tr>
    </table>
    <div class="tit_01 mt20">报价流程：<span><?php if(empty($infoAll)){echo '无数据';} else{echo $infoAll[0]['project']; } ?></span></div>
    <div class="mydetail mt20">
		<table class="table_02">
			<tbody>
			<tr>
				<th class="titleA">项目名称</th>
				<th class="titleA">序号</th>
				<th class="titleA type">型号</th>
				<th class="titleA">规格参数</th>
				<th class="titleA">数量</th>
				<th class="titleA">报价</th>
				<th class="titleA" width="80">报价日期</th>
				<th class="titleA">竞价状态</th>
				<th class="titleA">税率（%）</th>
				<th class="titleA">交期（天）</th>
				<th class="titleA">询价类型</th>
				<th class="titleA">供应商代码</th>
				<th class="titleA">报价供应商</th>
				<th class="titleA">物料组</th>
				<th class="titleA">采购组</th>
				<th class="titleA">工厂组</th>
				<th class="titleA">配额</th>
				<th class="titleA">状态</th>
			</tr>
			<?php if(!empty($new_infoAll)){ ?>
				<?php foreach ($new_infoAll as $key=>$value) { ?>
				<tr>
					<td><?php echo $value['project']; ?></td>
					<td><?php echo $key+1; ?></td>
					<td><?php echo $value['btype']; ?></td>
					<td><?php echo $value['bsize']; ?></td>
					<td><?php echo $value['bnumber']; ?></td>
					<td><?php echo $value['price']; ?></td>
					<td><?php echo date('Y-m-d H:i:s',$value['lasttime']); ?></td>
					<td><?php if($value['status'] == 0){echo "非竞价";}else if($value['status'] == 1){echo "竞价";} ?></td>
					<td><?php echo $value['rate']; ?></td>
					<td><?php echo $value['delivery']; ?></td>
					<td><?php echo $value['price_type']; ?></td>
					<td><?php echo $value['company_data']; ?></td>
					<td><?php echo $value['company_name']; ?></td>
					<td><?php echo $value['material']; ?></td>
					<td><?php echo $value['purchase']; ?></td>
					<td><?php echo $value['plant']; ?></td>
					<td><?php echo $value['extranum']; ?></td>
					<td><input type="checkbox" readonly="readonly" <?php if(!empty($value['code'])){ echo 'checked="checked"'; } ?> ></td>
				</tr>
				<?php } ?>
			<?php }else{ ?>
				<tr>
					<td colspan="16">
						<span>暂无数据</span>
					</td>
				</tr> 
			<?php } ?>
			</tbody>
		</table>
	</div>

	<p>备注：<span><?php echo $infoAll[0]['note']; ?></span></p>
	<p>附件：<a href="" download=""><?php echo $infoAll[0]['file_name']; ?></a></p>
	<p>意见建议：<span><?php echo $infoAll[0]['opinion']; ?></span></p>
	<hr>
	<?php if(!empty($exa_data)){ ?>
		<center><h2>管理员的提交信息</h2></center>
		<table  style="table-layout: fixed;width:100%;" >
			<thead>
				<th>序号</th>
				<th>提交</th>
				<th>备注</th>
				<th>提交的时间</th>
				<th>管理员</th>
			</thead>
			<tbody>
				<?php foreach($exa_data as $key=>$value){ ?>
					<tr>
						<td align="center"><?php echo $key+1; ?></td>
						<td align="center"><?php if($value['status'] == 0){echo "通过";}else if($value['status'] == 1){echo "驳回";} ?></td>
						<!-- <td align="center"><?php echo $value['opinion']; ?></td> -->
						<td align="center">空</td>
						<td align="center"><?php echo date('Y-m-d H:i:s',$value['time']); ?></td>
						<td align="center"><?php if(empty($value['name'])){echo "总监";}else{echo $value['name']; }; ?></td>
					</tr>
				<?php } ?>
				
			</tbody>
		</table>

	<?php } ?>
	<!-- <p class="mt20"><a href="" class="commit">提交</a><a href="" class="commit ml20">驳回</a></p> -->
	
	<table width="1200" border="0" cellspacing="0" cellpadding="0">
	 	<tr>
	    <td height="100" align="center" valign="bottom"><p><span class="STYLE8 STYLE3"><a rel="nofollow" target="_blank" href="http://www.ego-buy.com.cn/faqListDetail.do?parent_id=108&id=112">集团简介 | </a><a rel="nofollow" target="_blank" href="http://www.ego-buy.com.cn/faqListDetail.do?parent_id=108&id=143">广告服务</a> | <a rel="nofollow" target="_blank" href="http://www.ego-buy.com.cn/faqListDetail.do?parent_id=108&id=115">版权信息 |</a> <a rel="nofollow" target="_blank" href="http://www.ego-buy.com.cn/faqListDetail.do?parent_id=108&id=113">商家入驻 </a> | <a rel="nofollow" target="_blank" href="http://www.ego-buy.com.cn/faqListDetail.do?parent_id=108&id=114">新闻动态</a></span></p></td>
	  	</tr>
	  	<tr>
	    <td height="30" align="center"><span class="STYLE3">Copyright © 2014-2015 ego-buy.com.cn All Rights Reserved 粤ICP备15026826号</span></td>
	  	</tr>
	</table>
</body>
</html>